
using System;
using System.Runtime.InteropServices;

namespace Bioscrypt
{
    [StructLayout(LayoutKind.Sequential)]
    public struct BII_WIEGAND_STRUCT
    {
        [MarshalAs(UnmanagedType.U4)]
        public int Input_Wiegand_Format;

        [MarshalAs(UnmanagedType.U4)]
        public int Output_Wiegand_Format;

        [MarshalAs(UnmanagedType.U4)]
        public int Output_Action;

        [MarshalAs(UnmanagedType.U4)]
        public int Output_Fail_Code_0;

        [MarshalAs(UnmanagedType.U4)]
        public int Output_Fail_Code_1;

        [MarshalAs(UnmanagedType.U4)]
        public int Output_Site_Code;

        [MarshalAs(UnmanagedType.U4)]
        public int Output_Pulse_Width;

        [MarshalAs(UnmanagedType.U4)]
        public int Output_Pulse_Interval;
    }
}
